package com.tjzx.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * EipUnitedArea entity. @author MyEclipse Persistence Tools
 */

public class EipUnitedArea implements java.io.Serializable {

	// Fields

	private String areaCode;
	private String areaName;
	private String areaShortName;
	private String parentAreaCode;
	private Integer areaLevel;
	private Integer aid;
	private Set eipUnitedEmployees = new HashSet(0);
	private Set eipUnitedDepartments = new HashSet(0);

	// Constructors

	/** default constructor */
	public EipUnitedArea() {
	}

	/** minimal constructor */
	public EipUnitedArea(String areaCode, Integer aid) {
		this.areaCode = areaCode;
		this.aid = aid;
	}

	/** full constructor */
	public EipUnitedArea(String areaCode, String areaName,
			String areaShortName, String parentAreaCode, Integer areaLevel,
			Integer aid, Set eipUnitedEmployees, Set eipUnitedDepartments) {
		this.areaCode = areaCode;
		this.areaName = areaName;
		this.areaShortName = areaShortName;
		this.parentAreaCode = parentAreaCode;
		this.areaLevel = areaLevel;
		this.aid = aid;
		this.eipUnitedEmployees = eipUnitedEmployees;
		this.eipUnitedDepartments = eipUnitedDepartments;
	}

	// Property accessors

	public String getAreaCode() {
		return this.areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getAreaName() {
		return this.areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAreaShortName() {
		return this.areaShortName;
	}

	public void setAreaShortName(String areaShortName) {
		this.areaShortName = areaShortName;
	}

	public String getParentAreaCode() {
		return this.parentAreaCode;
	}

	public void setParentAreaCode(String parentAreaCode) {
		this.parentAreaCode = parentAreaCode;
	}

	public Integer getAreaLevel() {
		return this.areaLevel;
	}

	public void setAreaLevel(Integer areaLevel) {
		this.areaLevel = areaLevel;
	}

	public Integer getAid() {
		return this.aid;
	}

	public void setAid(Integer aid) {
		this.aid = aid;
	}

	public Set getEipUnitedEmployees() {
		return this.eipUnitedEmployees;
	}

	public void setEipUnitedEmployees(Set eipUnitedEmployees) {
		this.eipUnitedEmployees = eipUnitedEmployees;
	}

	public Set getEipUnitedDepartments() {
		return this.eipUnitedDepartments;
	}

	public void setEipUnitedDepartments(Set eipUnitedDepartments) {
		this.eipUnitedDepartments = eipUnitedDepartments;
	}

}